package com.entity;

public class Carpool {
	/**
     * 拼车id
     */
    private int carpool_id;
    /**
     * 拼车用户id
     */
    private String user_id;
    /**
     * 拼车详情
     */
    private String carpool_info;
    /**
     * 拼车时间
     */
    private String carpool_time="0";
    /**
     * 拼车状态
     */
    private String flag;
    /**
     * 起始地址
     */
    private String s_address;
    /**
     * 目的地址
     */
    private String g_address;
    /**
     * 拼车时间段
     */
    private String section;
	public int getCarpool_id() {
		return carpool_id;
	}
	public void setCarpool_id(int carpool_id) {
		this.carpool_id = carpool_id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getCarpool_info() {
		return carpool_info;
	}
	public void setCarpool_info(String carpool_info) {
		this.carpool_info = carpool_info;
	}
	public String getCarpool_time() {
		return carpool_time;
	}
	public void setCarpool_time(String carpool_time) {
		this.carpool_time = carpool_time;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public String getS_address() {
		return s_address;
	}
	public void setS_address(String s_address) {
		this.s_address = s_address;
	}
	public String getG_address() {
		return g_address;
	}
	public void setG_address(String g_address) {
		this.g_address = g_address;
	}
	public String getSection() {
		return section;
	}
	public void setSection(String section) {
		this.section = section;
	}
	@Override
	public String toString() {
		return "Carpool [carpool_id=" + carpool_id + ", user_id=" + user_id + ", carpool_info=" + carpool_info
				+ ", carpool_time=" + carpool_time + ", flag=" + flag + ", s_address=" + s_address + ", g_address="
				+ g_address + ", section=" + section + "]";
	}
}
